using System;
using System.Xml.Serialization;
using System.Collections.Generic;

//NOTE: .NET namepaces/packages do not allow for number values ie www.rewerse.net.I1.2006.R2ML was changed to the name space below.
namespace R2ML
{
    //[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.rewerse.net/I1/2006/R2ML")]
    //[System.Xml.Serialization.XmlRootAttribute("ReactionRuleSet",Namespace="http://www.rewerse.net/I1/2006/R2ML",IsNullable=false)]
    
    public class ReactionRuleSet //: RuleSet
    {
        #region fields

        [System.Xml.Serialization.XmlElement("ReactionRule", typeof(ReactionRule))]
        public List<ReactionRule> reactionRuleList = new List<ReactionRule>();
        #endregion

        public ReactionRuleSet()
        {
        }

        #region properties

        //[System.Xml.Serialization.XmlIgnoreAttribute()]
        //public List<ReactionRule> ReactionRuleList
        //{
        //    get { return reactionRuleList; }
        //    set { reactionRuleList = value; }
        //}
        #endregion

        #region methods

        public List<ReactionRule> getReactionRules()
        {
            return reactionRuleList;
        }

        public void setReactionRules(List<ReactionRule> param)
        {
            reactionRuleList = param;
        }
        #endregion
    }
}
